<template>
	<view>
		<u-gap></u-gap>
		<!--  -->
		<view class="" style="background-color: white;">
			<u-sticky class="bg-white" style="background-color: white;">
				<u-cell-group :border="false">
					<u-cell size="large" title="个人资料" isLink :border="true"
						@click="$pub.go('/pages_my/myMsg/myMsg')"></u-cell>
					<u-cell size="large" title="我的家人" isLink :border="true"
						@click="$pub.go('/pages_my/myFamily/myFamily')"></u-cell>
					<u-cell size="large" title="我的处方" isLink :border="true"
						@click="$pub.go('/pages_my/myPrescription/myPrescription')"></u-cell>
				</u-cell-group>
			</u-sticky>
		</view>
		<!--  -->
		<u-gap></u-gap>
		<!--  -->
		<view class="margin">
			<view class="">
				
			</view>
			<doctorList :list="messageList"></doctorList>
		</view>
	</view>
</template>

<script>
	export default {
		name: '',
		data() {
			return {
				messageList: [],
			}
		},
		methods: {
			async myAskMedical() {
				let re = await this.$API.messageApi.myAskMedical()
				console.log(re, "re");
				this.messageList = re
			},
			/*  */
			deleteItem(e) {
				console.log(e, "e");
				let index = e.index
				this.messageList.splice(index, 1)
				console.log(this.messageList, "me");
			}
		},
		onShow() {
			this.myAskMedical()
		},
	}
</script>

<style lang="scss" scoped >
 ::v-deep .u-cell__title-text--large{
	 font-size: 32rpx !important;
 }
</style>